<script setup>
import { RouterLink, RouterView } from 'vue-router'
import { ref } from 'vue'
import Home from "@/views/Home.vue"
import Login from "@/views/login/Login.vue"
import {storeToRefs} from "pinia"
import { useUserInfoStore } from '@/stores/userInfo'
const store=useUserInfoStore()
let {token}=storeToRefs(store)
</script>

<template>
  <div class="common-layout">
    <!-- <component :is="token?Home:Login"></component> -->
    <!-- <Login/> -->
    <Home />
    <!-- <RouterView /> -->
  </div>
</template>

<style scoped lang="less"></style>
